﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 学生册成绩管理系统.Models
{
    public class Student
    {
		private int id;

		public int Id
		{
			get { return id; }
			set { id = value; }
		}

		private string name;

		public string Name
        {
			get { return name; }
			set { name = value; }
		}

		private string password;

		public string Password
        {
			get { return password; }
			set { password = value; }
		}

		// true代表男，false代表女
		private bool sex;

		public bool Sex
		{
			get { return sex; }
			set { sex = value; }
		}

		private string city;

		public string City
		{
			get { return city; }
			set { city = value; }
		}

		private DateTime insertDate;

		public DateTime InsertDate
        {
			get { return insertDate; }
			set { insertDate = value; }
		}

		// 用户角色(判断管理员还是学生)
		private int role;

		public int Role
		{
			get { return role; }
			set { role = value; }
		}



	}
}
